﻿<UserControl x:Class="TFS.Kanban.Modules.ProjectExplorer.Views.UserStory"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>

        <TextBlock Grid.Row="0" Grid.Column="0" Text="{Binding Id}" />
        <TextBlock Grid.Row="0" Grid.Column="1" Text="{Binding Name}" />

        <StackPanel Grid.Row="1" Grid.ColumnSpan="2">
            <Label Content="Tasks Count: " />
            <TextBlock Text="{Binding TaskCount}" />
        </StackPanel>
    </Grid>
</UserControl>
